package com.group.app.example.domain;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.*;
import java.io.Serializable;

@Data
@Entity
@Table(name="field_station")
@AllArgsConstructor
@NoArgsConstructor
public class FieldStationModel implements Serializable {
    @Id
    @Column(name="id")
    private String id;

    @Column(name="field_name")
    private String fieldName;

    @Column(name="field_type")
    private String fieldType;
}
